package apps;

import java.text.SimpleDateFormat;
import java.util.Date;

public class AccountStatementGenerator
{
    public void printAccountStatement(Account account)
    {
	SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyy HH:mm:ss");
	Date now = new Date();

	System.out.println("DATE: " + sdf.format(now));
	System.out.println("BALANCE: " + account.getBalance());
    }
}
